home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20010306-20010921
/
000167_arthur.marsh@adelaide.edu.au_Tue May 22 10:49:18 EDT 2001.msg
< prev
next >
Wrap
Text File
|
2001-09-20
|
2KB
|
53 lines
Article: 12464 of comp.protocols.kermit.misc
Message-ID: <3B09F5B7.A623B8AF@adelaide.edu.au>
Date: Tue, 22 May 2001 14:44:31 +0930
From: Arthur Marsh <arthur.marsh@adelaide.edu.au>
Organization: The University of Adelaide
X-Mailer: Mozilla 4.5 [en]C-CCK-MCD (WinNT; I)
X-Accept-Language: en,pdf
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: testing a TCP port and logging response
References: <3B09E25B.8117DD48@adelaide.edu.au> <9ecogf$3jb$1@newsmaster.cc.columbia.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: arthur.its.adelaide.edu.au
X-Trace: 22 May 2001 14:44:31 +0950, arthur.its.adelaide.edu.au
Lines: 33
Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!news.verio.net!nntp.frontiernet.net!nntp.gblx.net!europa.netcrusader.net!204.71.34.3!newsfeed.cwix.com!news1.optus.net.au!optus!yorrell.saard.net!hakea.services.adelaide.edu.au!arthur.its.adelaide.edu.au
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:12464
Hi, thanks for the quick response. kermit -h didn't suggest the -C
option.
If the SET HOST command times out, one would get an error indication
eventually, but if one was wanting to get a success/failure indication a
few seconds after the SET HOST was issued, could C-Kermit provide the
means to do this? The purpose of this is to check for a TCP service that
has "hung" and provide the means to quickly take fail-over action.
Regards,
Arthur.
Jeffrey Altman wrote:
> : How would one set C-Kermit to test a TCP port, (waiting only a few
> : seconds for a response and not a long timeout), return a success/failure
> : status to the calling shell, and save any response from the connection
> : attempt to a file?
>
> If you want to do this on the command line
>
> kermit -C "set host localhost 99, if failure exit 1, close, exit 0"
>
> Jeffrey Altman * Sr.Software Designer C-Kermit 7.1 Alpha available
> The Kermit Project @ Columbia University includes Secure Telnet and FTP
> http://www.kermit-project.org/ using Kerberos, SRP, and
> kermit-support@kermit-project.org OpenSSL. SSH soon to follow.
--
Arthur Marsh, Network Support Officer, Information Technology Services
The University of Adelaide SA 5005 Australia
Ph: +61 8 8303 6109, Mobile: +61 414 260 077